package bean;

import java.math.BigInteger;
import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;


public class Kreditgeber {

    @Size(min=3,max=3)
    @NotNull
    private String name;
    
    @Min(0)
    private BigInteger summe;
    
    
    public String getName(){
        return name;
    }
    public void setName(String name){
        this.name = name;
    }
    
    
    public BigInteger getSumme(){
        return summe;
    }
    public void setSumme(BigInteger summe){
        this.summe = summe;
    }
    
}
